/**
 * StarInfoNodeBase.java
 *
 * Roslan's Remake of MOO in 3D using Ardor3D
 * (C) 2011 Roslan Amir. All rights reserved.
 */

package com.roslan.games.moo3d.ui.hud;

import com.ardor3d.scenegraph.Node;
import com.roslan.games.moo3d.spatial.StarNode;

/**
 * The base class for all star (and colony) information nodes.
 * 
 * @author Roslan Amir
 * @version 1.0 - Aug 9, 2011
 */
public abstract class StarInfoNodeBase extends Node {

	/**
	 * Constructor.
	 * 
	 * @param name
	 * @param font
	 */
	public StarInfoNodeBase(String name) {
		super(name);
	}

	/**
	 * Update the information to the currently selected Star (or Colony).
	 * 
	 * @param starNode - the Star (or Colony) whose info is to be updated
	 */
	protected abstract void update(StarNode starNode);

}
